package com.honeywell.entity;

import java.io.Serializable;

/**
 * @author: mabingbing 
 * @createDate: 2018年4月18日 上午11:42:24
 * @descript:  返回给前端的结果类
 */
public class Result implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1318030769773673506L;

	/***
	 * 返回结果状态码
	 */
	private int code;
	
	/**
	 * 返回结果信息
	 */
	private String msg;
	
	/**
	 *返回的结果数据 
	 */
	private Object result;
	
	public Result(){
		
	}
	public Result(int code, String msg){
		this.code = code;
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}
	
	

}
